package org.dromara.canteen.service;

import org.dromara.canteen.domain.CanteenCooking;
import org.dromara.canteen.domain.vo.CanteenCookingVo;
import org.dromara.canteen.domain.bo.CanteenCookingBo;
import org.dromara.common.mybatis.core.page.TableDataInfo;
import org.dromara.common.mybatis.core.page.PageQuery;
import com.github.yulichang.base.MPJBaseService;
import java.util.Collection;
import java.util.List;

/**
 * 烹饪管理Service接口
 *
 * @author Gjb
 * @date 2025-07-31
 */
public interface ICanteenCookingService extends MPJBaseService<CanteenCooking> {

    /**
     * 查询烹饪管理
     */
    CanteenCookingVo queryById(Long cookingId);

    /**
     * 查询烹饪管理列表
     */
    TableDataInfo<CanteenCookingVo> queryPageList(CanteenCookingBo bo, PageQuery pageQuery);

    /**
     * 查询烹饪管理列表
     */
    List<CanteenCookingVo> queryList(CanteenCookingBo bo);

    /**
     * 新增烹饪管理
     */
    Boolean insertByBo(CanteenCookingBo bo);

    /**
     * 修改烹饪管理
     */
    Boolean updateByBo(CanteenCookingBo bo);

    /**
     * 校验并批量删除烹饪管理信息
     */
    Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);
}
